const mongoose = require("mongoose")
const {model, Schema} = mongoose
// 账户密钥
const schema = new Schema({
    userID: {
        type: String
    },
    publicKey: {
        type: String
    },
    privateKey: {
        type: String
    },
    createTime: {
        type: Date,
        default: new Date()
    },
    updateTime: {
        type: Date,
        default: new Date()
    }
})
const Key = model("Key", schema)
module.exports = Key